﻿package kliment.events {
	import flash.events.ProgressEvent;
	
	/**
	 * ...
	 * @author	Kliment
	 * @version	1.0.1
	 * 
	 * class name: kliment.events.BitmapLoaderEvent
	 */
	public class BitmapLoaderEvent extends ProgressEvent {
		static public const OPEN:String = 'laod_open';
		static public const COMPLETE:String = 'laod_complete';
		static public const POGRESS:String = 'laod_pogress';
		static public const IO_ERROR:String = 'laod_io_error';
		
		public var text:String;
		
		public function BitmapLoaderEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, bytesLoaded:uint = 0, bytesTotal:uint = 0, ioText:String = null) {
			super(type, bubbles, cancelable, bytesLoaded, bytesTotal);
			text = ioText;
		}
		
	}

}